revealer: Request child size for NONE transition type
authorTimm Bäder <mail@baedert.org>
Sun, 4 Jun 2017 16:33:08 +0000 (18:33 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 20 Jul 2017 01:27:13 +0000 (21:27 -0400)
commitec1984bd9314fd3871f7550d8a3b0667a6f9d204
tree51a81feb6bd9fb4a873311efa89003d58e2fa16c
parent9e5044725396a55faa43b3f620d9712d18bb68ff
revealer: Request child size for NONE transition type

Previously, we would request a size of 0×0 when the transition type was
NONE and the child un-revealed, making the revealer in this case a
gtk_widget_set_visible replacement. Instead, to the exact same thing we
do in the CROSSFADE case and request the child size instead. This also
keeps the revealer from under allocating the child when the transition
type is set to NONE.
gtk/gtkrevealer.c
testsuite/gtk/revealer-size.c